package com.example.log.test;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
//@ConfigurationProperties(prefix = "user")
public class User {
    @Value("${user.phone}")
    private String phone;
    private String name;
    private int age;
    private String email;
}
